package com.aplink.generic.database;

import com.aplink.generic.pojo.GenericObject;
import com.aplink.generic.pojo.ObjPropCol;

import java.util.ArrayList;

public interface ISaveCommand {

    public long insertOrUpdate( GenericObject object, ObjPropCol objPropCol );

    public ArrayList<Long> insertList(
            ArrayList<GenericObject> genericObjects, ObjPropCol objPropCol );

    public long insert( GenericObject object, ObjPropCol objPropCol );
}
